<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<f:view>
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
	<html>
	<head>
	<base href="<%=basePath%>">

	<title>企业信息管理系统 - 工作记录</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="企业,信息,管理">
	<meta http-equiv="description" content="企业信息管理系统 - 工作记录">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<link rel="stylesheet" type="text/css" href="css/styles.css">
	</head>
	<body>
	<div align="center">

	<table height="100%" width="100%" border="0" cellspacing="0"
		cellpadding="0">
		<tr>
			<td colspan="2" height="108">
			<table height="108" background="images/banner.jpg" border="0"
				cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td></td>
				</tr>
			</table>
			</td>
		</tr>
		<tr>
			<td width="160" bgcolor="#EEEEEE" valign="top" height="100%"><%@ include
				file="inc/menu.jsp"%></td>
			<td align="left" valign="top"><h:form>
				<TABLE width="100%" class="position">
					<TR>
						<TD>当前位置：工作记录&gt;&gt;修改工作记录</TD>
						<TD align="right"><h:commandLink value="返回工作记录主页面"
							action="#{worklogAction.list}" immediate="true" /></TD>
						<TD width="20"></TD>
					</TR>
				</TABLE>
				<h:inputHidden value="#{worklogAction.id}" />
				<h:panelGrid columns="2" width="100%">
					<h:outputText value="年份" />
					<h:inputText value="#{worklogAction.year}" maxlength="4"
						required="true" />
					<h:outputText value="月份" />
					<h:inputText value="#{worklogAction.month}" maxlength="2"
						required="true" />
					<h:outputText value="日期" />
					<h:inputText value="#{worklogAction.day}" maxlength="2"
						required="true" />
					<h:outputText value="记录标题" />
					<h:inputText value="#{worklogAction.title}" maxlength="100"
						required="true" />
					<h:outputText value="记录内容" />
					<h:inputTextarea value="#{worklogAction.description}" rows="15"
						cols="60" />
					<h:commandButton value="提交" action="#{worklogAction.update}" />
				</h:panelGrid>
			</h:form></td>
		</tr>
		<tr>
			<td colspan="2" align="center"><%@ include file="inc/foot.jsp"%>
			</td>
		</tr>
	</table>
	</div>
	</body>
	</html>
</f:view>